
package project_2_9;

import java.util.Scanner;
import java.lang.Math;
public class Project_2_9 {

  
    public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);
  double r,surfaceArea, volume;
  
  System.out.println("Enter radius");r=scan.nextDouble();
  volume=4/3*3.14*r*r*r;
  surfaceArea= 4*3.14*r*r;
  System.out.println("volume:"+volume);
  System.out.println("surface area:"+surfaceArea);
  
  
    }
    
}
